package com.zhixing.user.domain.entity;

import com.zhixing.user.domain.enums.Sex;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Driver {
    private Integer id;
    private Integer userId;
    private String phone;
    private String name;
    private Sex sex;
    private LocalDate birthDate;
    private String idNumber;
    private String address;
    private LocalDate idCardExpireDate;
    private String idCardFrontUrl;
    private String idCardBackUrl;
    private String driverLicenseClass;
    private LocalDate driverLicenseIssueDate;
    private LocalDate driverLicenseExpireDate;
    private String driverLicenseUrl;
    private String carBrand;
    private String carColor;
    private String plateNumber;
}
